-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(appsync): add dependency between apikey and schema #9737
Conversation
@Mergifyio refresh |
Command |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added do not merge in case you're still adding commits here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you also update the commit body to describe the changes in behaviour we are making and the rationale. i.e. why is the dependency needed, approach, etc
paraphrasing a summary of issues it fixes can be helpful here too since there's some conversation and considerations discussed in them.
Pull request has been modified.
Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
Added dependency between the CfnApiKey and CfnSchema. The dependency here is to prevent a
ConcurrencyModificationError
as seen in #8168. We allow this dependency to exist because from referencing the docs there shouldn't be any issue between creating an api key before or after schema creation.Also make ApiKeyConfig correctly configure the ApiKey when used in
additionalAuthorizationModes
.Fixes #9736
Fixes #8168
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license